package com.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.pojo.LdbzIndexSlideAd;
import com.shop.pojo.LdbzSearchLeftAd;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LdbzSearchLeftAdMapper extends BaseMapper<LdbzSearchLeftAd> {
    List<LdbzSearchLeftAd> getSearchLeftAdPage(LdbzSearchLeftAd entity , int start , int limit);
    long countByEntity(LdbzSearchLeftAd entity);
    LdbzSearchLeftAd selectByKey(Long id);
    int deleteByKey(Long id);
    int deleteByKeys(List<Long> ids);
    int insertByEntity(LdbzSearchLeftAd entity);
    int updateByKey(LdbzSearchLeftAd entity);
    List<LdbzSearchLeftAd> selectByEntity(@Param("entity")LdbzSearchLeftAd entity , @Param("start")int start , @Param("limit")int limit);
}
